/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package parser;

import java.awt.Color;

/**
 *
 * @author nate
 */
public class NumericPhrase implements Phrase, PhraseDecorator
{
        public String numericPhrase;


    public NumericPhrase(String num)
    {
        numericPhrase = num;
    }

    public void Print()
    {
        System.out.println(numericPhrase + ": I am a 'numeric' Phrase");
    }

    public Color getColor()
    {
        return Color.PINK;
    }

    public String getValue()
    {
        return numericPhrase;
    }
    public String getAssociations()
    {
        return null;
    }

    public String getType()
    {
        return "numeric";
    }
}
